const locInfo = {
	"status": 0,
	"msg": "SUCCESS",
	"result": {
		"lessonList": [{
				"athleteCheckNum": 0,
				"athleteNum": 4,
				"cby": 5,
				"coachCheckNum": 0,
				"coachNum": 1,
				"courseId": 2,
				"courseName": "Blood",
				"cts": "",
				"detailsName": "Urine   Blood",
				"endTime": "12:30",
				"hasDelete": 0,
				"id": 5,
				"location": 120,
				"locationName": "Often",
				"rateCard": 50,
				"ressonName": "",
				"rollCallMethod": "PRO",
				"signMd5": "97aeade6e66b52a040253472720142ad",
				"sportName": "Urine",
				"startTime": "09:00",
				"status": "ACTIVE",
				"suspendReason": 0,
				"uby": 0,
				"upperDate": "2020-03-19",
				"upperDuration": "3.50",
				"upperWeek": "WEDNESDAY",
				"uts": "2020-03-17 17:39:28"
			},
			{
				"athleteCheckNum": 0,
				"athleteNum": 4,
				"cby": 5,
				"coachCheckNum": 0,
				"coachNum": 1,
				"courseId": 2,
				"courseName": "Blood",
				"cts": "",
				"detailsName": "Urine   Blood",
				"endTime": "12:30",
				"hasDelete": 0,
				"id": 5,
				"location": 120,
				"locationName": "Often",
				"rateCard": 50,
				"ressonName": "",
				"rollCallMethod": "PRO",
				"signMd5": "97aeade6e66b52a040253472720142ad",
				"sportName": "Urine",
				"startTime": "09:00",
				"status": "COMPLETED",
				"suspendReason": 0,
				"uby": 0,
				"upperDate": "2020-03-19",
				"upperDuration": "3.50",
				"upperWeek": "WEDNESDAY",
				"uts": "2020-03-17 17:39:28"
			},
			{
				"athleteCheckNum": 0,
				"athleteNum": 4,
				"cby": 5,
				"coachCheckNum": 0,
				"coachNum": 1,
				"courseId": 2,
				"courseName": "Blood",
				"cts": "",
				"detailsName": "Urine   Blood",
				"endTime": "12:30",
				"hasDelete": 0,
				"id": 5,
				"location": 120,
				"locationName": "Often",
				"rateCard": 50,
				"ressonName": "",
				"rollCallMethod": "PRO",
				"signMd5": "97aeade6e66b52a040253472720142ad",
				"sportName": "Urine",
				"startTime": "09:00",
				"status": "COMPLETED",
				"suspendReason": 0,
				"uby": 0,
				"upperDate": "2020-03-19",
				"upperDuration": "3.50",
				"upperWeek": "WEDNESDAY",
				"uts": "2020-03-17 17:39:28"
			},
			{
				"athleteCheckNum": 0,
				"athleteNum": 4,
				"cby": 5,
				"coachCheckNum": 0,
				"coachNum": 1,
				"courseId": 2,
				"courseName": "Blood",
				"cts": "",
				"detailsName": "Urine   Blood",
				"endTime": "12:30",
				"hasDelete": 0,
				"id": 5,
				"location": 120,
				"locationName": "Often",
				"rateCard": 50,
				"ressonName": "",
				"rollCallMethod": "PRO",
				"signMd5": "97aeade6e66b52a040253472720142ad",
				"sportName": "Urine",
				"startTime": "09:00",
				"status": "ACTIVE",
				"suspendReason": 0,
				"uby": 0,
				"upperDate": "2020-03-19",
				"upperDuration": "3.50",
				"upperWeek": "WEDNESDAY",
				"uts": "2020-03-17 17:39:28"
			},
			{
				"athleteCheckNum": 0,
				"athleteNum": 4,
				"cby": 5,
				"coachCheckNum": 0,
				"coachNum": 1,
				"courseId": 2,
				"courseName": "Blood",
				"cts": "",
				"detailsName": "Urine   Blood",
				"endTime": "12:30",
				"hasDelete": 0,
				"id": 5,
				"location": 120,
				"locationName": "Often",
				"rateCard": 50,
				"ressonName": "",
				"rollCallMethod": "PRO",
				"signMd5": "97aeade6e66b52a040253472720142ad",
				"sportName": "Urine",
				"startTime": "09:00",
				"status": "SUSPEND",
				"suspendReason": 0,
				"uby": 0,
				"upperDate": "2020-03-19",
				"upperDuration": "3.50",
				"upperWeek": "WEDNESDAY",
				"uts": "2020-03-17 17:39:28"
			}
		]
	}
}

const lessonInfo = {
	"rollCall": "YES",
	"lesson": {
		"athleteCheckNum": 0,
		"athleteNum": 4,
		"cby": 5,
		"coachCheckNum": 0,
		"coachNum": 1,
		"courseId": 2,
		"courseName": "Blood",
		"cts": "",
		"detailsName": "Urine   Blood",
		"endTime": "12:30",
		"hasDelete": 0,
		"id": 5,
		"location": 120,
		"locationName": "Often",
		"rateCard": 50,
		"ressonName": "",
		"rollCallMethod": "PRO",
		"signMd5": "97aeade6e66b52a040253472720142ad",
		"sportName": "Urine",
		"startTime": "09:00",
		"status": "ACTIVE",
		"suspendReason": 0,
		"uby": 0,
		"upperDate": "2020-03-19",
		"upperDuration": "3.50",
		"upperWeek": "WEDNESDAY",
		"uts": "2020-03-17 17:39:28"
	},
	"qr": "LrALVMLnXPOzCLxTWiok6w=="
}

const lesson_athlete = {
	"status": 0,
	"msg": "SUCCESS",
	"result": {
		"rollCall": "YES",
		"athleteList": [{
				"firstName": "Heart",
				"id": 43,
				"lastName": "Chap",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "生病了",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "LATE",
				"tcName": "閘一心",
				"userId": 107,
				"workingHour": ""
			},
			{
				"firstName": "Shuk Yi",
				"id": 44,
				"lastName": "Ho",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "何淑儀",
				"userId": 108,
				"workingHour": ""
			},
			{
				"firstName": "Yat Sum",
				"id": 45,
				"lastName": "Chan ",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "陳一心",
				"userId": 109,
				"workingHour": ""
			}
		]
	}
}

const lesson_coach = {
	"status": 0,
	"msg": "SUCCESS",
	"result": {
		"rollCall": "YES",
		"coachList": [{
				"firstName": "Yat",
				"id": 41,
				"lastName": "Lee",
				"lessonId": 5,
				"masterCoach": 1,
				"reason": "生病了",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:01:08",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "ABSENT",
				"tcName": "李一",
				"userId": 91,
				"workingHour": ""
			},
			{
				"firstName": "Doctors",
				"id": 42,
				"lastName": "lin",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-17 18:17:08",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "林D",
				"userId": 113,
				"workingHour": "2.5"
			}
		]
	}
}
const review = {
	"status": 0,
	"msg": "SUCCESS",
	"result": {
		"athleteList": [{
				"firstName": "Heart",
				"id": 43,
				"lastName": "Chap",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "生病了",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "LATE",
				"tcName": "閘一心",
				"userId": 107,
				"workingHour": ""
			},
			{
				"firstName": "Shuk Yi",
				"id": 44,
				"lastName": "Ho",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "何淑儀",
				"userId": 108,
				"workingHour": ""
			},
			{
				"firstName": "Yat Sum",
				"id": 45,
				"lastName": "Chan ",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:10:24",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "陳一心",
				"userId": 109,
				"workingHour": ""
			}
		],
		"coachList": [{
				"firstName": "Yat",
				"id": 41,
				"lastName": "Lee",
				"lessonId": 5,
				"masterCoach": 1,
				"reason": "生病了",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-18 12:01:08",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "ABSENT",
				"tcName": "李一",
				"userId": 91,
				"workingHour": ""
			},
			{
				"firstName": "Doctors",
				"id": 42,
				"lastName": "lin",
				"lessonId": 5,
				"masterCoach": 0,
				"reason": "",
				"rollCall": 0,
				"signCoordinate": "546546,21454",
				"signInTime": "2020-03-17 18:17:08",
				"signLocation": "天河区东风路",
				"signType": "ROLL_COACH_SCAN",
				"status": "CHECK-IN",
				"tcName": "林D",
				"userId": 113,
				"workingHour": "2.5"
			}
		],
		"lesson": {
			"athleteCheckNum": 0,
			"athleteNum": 4,
			"cby": 5,
			"coachCheckNum": 0,
			"coachNum": 1,
			"courseId": 2,
			"courseName": "Blood",
			"cts": "",
			"detailsName": "Urine   Blood",
			"endTime": "12:30",
			"hasDelete": 0,
			"id": 5,
			"location": 120,
			"locationName": "Often",
			"rateCard": 50,
			"ressonName": "",
			"rollCallMethod": "PRO",
			"signMd5": "97aeade6e66b52a040253472720142ad",
			"sportName": "Urine",
			"startTime": "09:00",
			"status": "ACTIVE",
			"suspendReason": 0,
			"uby": 0,
			"upperDate": "2020-03-19",
			"upperDuration": "3.50",
			"upperWeek": "WEDNESDAY",
			"uts": "2020-03-17 17:39:28"
		}
	}
}
const athletesList = {
	"status": 0,
	"msg": "SUCCESS",
	"result": [{
			"firstName": "Alison",
			"lastName": "eoo",
			"tcName": "国档",
			"userId": 1
		},
		{
			"firstName": "Alison1",
			"lastName": "eoo2",
			"tcName": "国档1",
			"userId": 2
		},
		{
			"firstName": "Aliso3n",
			"lastName": "eoo54",
			"tcName": "国档4",
			"userId": 3
		}
	]
}
const coachList = {
	"status": 0,
	"msg": "SUCCESS",
	"result": [{
			"firstName": "Alison2",
			"lastName": "eoo2",
			"tcName": "国档2",
			"userId": 1
		},
		{
			"firstName": "Alison2",
			"lastName": "eoo2",
			"tcName": "国档2",
			"userId": 2
		},
		{
			"firstName": "Alison3",
			"lastName": "eoo3",
			"tcName": "国档3",
			"userId": 3
		}
	]
}

const participant = {
    "status": 0,
    "msg": "SUCCESS",
    "result": {
        "lesson": {
            "athleteCheckNum": 0,
            "athleteNum": 0,
            "cby": 5,
            "coachCheckNum": 0,
            "coachNum": 0,
            "courseId": 2,
            "courseName": "Headache",
            "cts": "",
            "detailsName": "Present",
            "endTime": "11:30",
            "hasDelete": 0,
            "id": 5,
            "location": 96,
            "locationName": "男子重剑",
            "rateCard": 14,
            "ressonName": "",
            "rollCallMethod": "SO",
            "signMd5": "476f851c9adb28a7323704b99b71e647",
            "sport": 60,
            "sportName": "Physical",
            "startTime": "09:30",
            "status": "ACTIVE",
            "suspendReason": 0,
            "uby": 0,
            "upperDate": "2020-03-04",
            "upperDuration": "2.00",
            "upperWeek": "WEDNESDAY",
            "uts": ""
        },
        "participantList": [
            {
                "actionObj": 0,
                "actionToken": "",
                "beanType": "",
                "cby": 1,
                "courseId": 2,
                "cts": "2020-03-16 12:25:20",
                "firstName": "Yat",
                "hkId": "A100",
                "id": 51,
                "lastName": "Lee",
                "lessonId": 5,
                "masterCoach": 1,
                "rateCardTitle": 0,
                "rollCall": 0,
                "tcName": "李一",
                "type": "COACH",
                "uby": 0,
                "userId": 91,
                "uts": "2020-03-13 15:33:42"
            }
        ]
    }
}
var api = {
	review,
	lesson_coach,
	locInfo,
	lessonInfo,
	lesson_athlete,
	athletesList,
	coachList,
	participant
}
//清楚本地假数据
var clearApi = true
if (process.env.NODE_ENV !== 'development' || clearApi) {
	for (var i in api) {
		api[i].status = 1
		if(api[i].result){
			api[i].result =api[i].result.lenth?{}:[]
		}
		
	}
}

module.exports = api
